package com.joven.shelltest.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author wzj
 * @Date 2023-08-03 17:30
 **/
@Data
@TableName("bank_account")
public class BankAccountModel implements Serializable {
    private static final long serialVersionUID = -5354312749998890479L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(value = "account")
    private String account;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "name", condition = SqlCondition.LIKE)
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private LocalDateTime createTime;
}
